/*
 * XYZDoughnut.java
 *
 * Created on September 20, 2004, 6:03 PM
 */

package edu.temple.GUS.MMA.Neighborhoods;

/**
 *
 * @author  jeffleon
 */
public class XYZDoughnut extends XYZNeighborhood{
    
    private int innerRadius;
    private int outerRadius;
    
    /** Creates a new instance of XYZDoughnut */
    public XYZDoughnut(int innerRadius, int outerRadius, int z) {

        // Define the x, y and z extend of the neighborhood
        super(outerRadius*2+1, outerRadius*2+1, z);
        this.innerRadius = innerRadius;
        this.outerRadius = outerRadius;
    }

    public int getInnerRadius () { return innerRadius; }
    public int getOuterRadius () { return outerRadius; }
   
    public void putInnerRadius (int innerRadius) { this.innerRadius = innerRadius; }
    public void putOuterRadius (int outerRadius) { this.outerRadius = outerRadius; }
}
